﻿namespace LuceneNetCoreDemo.App.Shared
{
    public static class Settings
    {
        /// <summary>
        /// 索引目录
        /// </summary>
        public static string IndexLocation { get; set; } = @"D:\lucene\index";

        /// <summary>
        /// 文件
        /// </summary>
        public static string MovieJsonFile { get; set; } = @"D:\lucene\movies.json";

        /// <summary>
        /// 忽略词典每行一词
        /// </summary>
        public static string IgnoreDictFile { get; set; } = @"D:\lucene\ignore.txt";
        /// <summary>
        ///自定义词典
        /// </summary>
        public static string UserDictFile { get; set; } = @"D:\lucene\dict.txt";
        /// <summary>
        /// 是否显示分词记录
        /// </summary>
        public static bool Debug { get; set; } = true;
        /// <summary>
        /// 是否精确匹配
        /// </summary>
        public static bool Search { get; set; } = false;
    }
}